added vsync

Monitor refresh rate will match fps.