I would consult the revenue and customs website in UK for you uk tax position. If you are in Thailand for 180 days your subject to tax on all monies brought into Thailand. You can make use of the DTA to reduce the Thai tax by subtracting what you paid in UK. The DTV is a new visa, the income tax rules in Thailand are new. No one knows how they are going to (not) work.