If you don’t want to visit everytime the immigration office before you leave Thailand it’s worthy to apply for a „Multiple Re-entry Permit“. It cost 3.500 THB.
You were lucky just to pay a fine. Many countries in the world put you into jail if you overstay such a period. And by the way, if you not agree the rules of Thailand, just stay away.