for the Thai one you can get it only from Special Branch in Bangkok. It can be done online but you need to submit a full set of fingerprints taken by police. I did a hi-res scan from Australian police fingerprints form.
Yes, Korat is a pain. Very slow and unforgiving. Just an extension took me 2 trips and 4 hours. TM30 from hotel needed to be for a 7 day stay WTF? So we did it from a vacant block of land....go figure.
yup. It isn't that hard is it? But as Tod says, they don't really give a shit as long as you have your boarding pass and passport on arrival at IO desk.