Hi just a small patch to add a setting for VSync (enabled by default).