Captain Rob wrote:
Doesn't count. Didn't happen. They edited out the end bit at the very end where Tom says "Computer. End program." And the holodeck doors open. And he deletes his lizard sex fantasy after realizing that he went too far.
I really like this explanation.