Fixed coding style
Added fullscreen support