bugfix: timer was not initialized in XWindow