@Adam ******
correct, you have 3 choices,
bounce out and back to get a 45 day visa exempt entry
you go to a thai consulate to get a single entry tourist visa
you go to a thai consulate to get a 90 day Non-O visa based on being over 50 <- which you can do once you turn 50.
I'd say the easiest is to bounce out and back to get a free 45 day visa exempt entry, then once you turn 50 apply for the 90 day Non-O visa for 2000baht at the immigration office here ๐