Alex,
In addition to Kelly's good suggestion to read a previous post, I would also suggest that you ask any visitors to completely ignore Thomas when they first enter the house. I know this will be difficult for them (and you) but if he is completely overawed by the situation he is bound to pee. Only when Thomas has settled can your visitors quietly greet him. Tall order I know but could be helpful in resolving this problem. Good luck!