you cannot stay in thiland on a vistors visa,of 30 days you may need to show at ticket leaving after 30 days and come back best way is book a flight to say Vietnam just before the 30 days and cancel it then keep paperwork then ovisly get extension in this land it's very strict now they will do anything to refuse entry