The non O visa will be issued because of your marriage to a Thai (so have proof of that). Once in Thailand you can extend one year at a time with proof of 400k baht in bank account here (those are extensions - not visas - you will need a re-entry permit to return from any travel outside of Thailand.)