If for any reason you did not receive the visa (unlikely if you prepared properly), you can apply for a 7 day extension denied stamp to leave Thailand.
If only people realized this.... See so many comments like that. Well I never had an issue, i've been doing it for years......Everyone's time will come if they try to stay in Thailand long term as a 'Tourist'.
If you get a NON O based on being over 50, it is usually required to get a one year extension of stay based on the same reason first. After that, you can usually change the reason for your extension of stay based on being over 50. Visit your local office well beforehand and tell them your intention to make sure you prepare everything they require ahead of time.
You need a new passport. Although it seems not to be an official rule, you will have issues while trying to return to Thailand with less than 6 months on your passport. I experienced this myself in the past.