implemented resolution, fullscreen and vsync switcher, not fully tested