* Compiler warning fixed
* Window event handling works now