changed window events back to on
added notification off before on

Signed-off-by: unknown <twonneberger@twonneberger.signup4.local>
Merge pull request #2 from wonnebet/master

changed window events back to on