It's been a long time since I did it, but I think you could go to Lipe (a beautiful island) and then take a boat to Lamgkawi for a couple of nights and come back into Thailand to get another 30 days. This wouldn't involve any flights and would add to more beautiful islands to visit.
*****************************************************