Added VSync option.