Yes, Thomas is a real mystery, as you say the one aged 39 cant be the one I'm looking for, though neither can Captain Thomas William Moffat who died 20 November 1835, his pension record lists his widow as Martha Matilda Moffat
I will have to wait until the end of the month to buy more credits on Scotland's people and hope one of his children's baptisms, census for Helen in 1841/1851 or their marriage record gives a new clue