You can extend once at an immigration office, by providing the same documents as you did for application. When the extension finishes after 180 days, you must leave the country and re-enter for another 180 days
I know what a TM6 is. I've lived in Thailand for almost 20 years. It's no big deal, but I can't see how it tracks foreigners. It's very similar to the Australian entry card