@Craig ********
and while we understand WHAT you are saying you are confusing buying a visa from a thai consulate in another country with getting a yearly extension of stay from the immigration office. They are completely different.
You have two options; buy a visa from the thai consulate before you come back OR come back and start the process at the immigration office to first get a visa and then get an extension of stay.