Changed default resolution.
Made window resizable and added fixed fullscreen mode.
Fixed default settings write out with the Readable option enabled.
Fixed event processing not to feed garbage events to event handlers.