Added vsync option