Beetle, both your answers are good!. The second can be a valid answer, but the usually explanation is that he was cleaning the inside of the windows...
Next Lateral Thinking Puzzle:
A cowboy rode into town on Friday, spent one night there, and left on Friday. How do you account for this?