No quotation marks these days, though in older books it seems to have been standard, which may be the confusion. Nor italics, though I've met - and used - italics for remembered speech or thoughts.
You just use 'he thought' to make it clear what's going on, though you may then want to rearrange the sentence. It's all one sentence then, too, so no question mark:
Thomas ejected himself from his bed, initially to empty his bladder, but was distracted by his laptop on passing. |
|
Or of course you can keep it in third person:
He wanted one last look at Melodema.com. What if they had left them a hidden message? |
|
Emma
<Added>ach! Lost the important bit!
Thomas ejected himself from his bed, initially to empty his bladder, but was distracted by his laptop on passing. He wanted one last look at Melodema.com. What if you have left us a hidden message, he thought. |
|