With the 1x1 background window trick, we can apply VSync without restart. Some issues left though.
Fixing issues from last commit: restored input and occlusion queries
Supply the new render window to mygui
Settings window fix