This is all new information to me and much appreciated. The internet has so many conflicting sources that finding definitive answers is almost impossible... even from the Thai embassy website.
I like this idea of going out of country and applying for a longer visa and then returning a few days later.
I just want to do this properly and enjoy my stay, while also finding a way to be a benefit to Thailand. 🙂