You can get a Medical visa with an agent (around 20k baht), or switch from Amnesty to Non-O (around 30k baht). It's probably too late for both. Broke foreigners are heading out, those with money went with an agent. It's sad but it's how it is.
A lot of old fart in the comment who think being treated like shit is okay because we are not at home. They are the one who ends up broke after GF leave them for younger one and complain that life is so difficult, lol.