bugfixes for splitterwindow and key events