I could've sworn that in one of the season previews we saw the Doctor as the sad clown sitting on the bed. Could that have been what the Doctor saw? But why wasn't it in this episode? Unless they are holding it back to use as a flashback in a future episode.