Suggest you apply for and obtain the Non O Visa as Married to Thai in the UK before you fly to Thailand.
You will get 90 days STAMP on arrival into Thailand.
Then visit your local Thai Immigration office and ask for the list of requirements for the one year extension of stay as Married to Thai.
************************