support for F11 fullscreen and disabling the default buffer swap