Your problems with immigration begin when you line up for hours to process your paperwork only to find out that the photocopies are wrong and/ or the passport sized photos are the wrong size. Remember you are an ALIEN!
You can do visa runs every time you need a new visa. However land border crossings don't give you a lot of visa time. Flights to neighboring countries are cheap enough but it sounds like you don't have any money. Living in Thailand isn't free especially if you are going to support your wife.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.