Don't bind events unless there is window
3.0.6
Merge branch 'master' of github.com:KoryNunn/flap