Better handling of mouse events. Save window resizes. Resize FBOs correctly.