add EnterWindow event, and give events names
Merge pull request #37 from dominictarr/master

add EnterWindow event, and give events names