add basicc mouse event handling for glowwindow