[osx] we use our own main.
[osx/input] added input disable
[osx/windowing] recreate window when fullscreen switching. we only keep the gl context with it's view alive.