faff with menus, buttons and sliders some more

buttons and sliders can now handle their own window events
buttons look pressed in when pressed
menus are getting saner
fix minor issue with PrimitiveGroup
fix keyboard handling bug