Rendering is now synchronized with refresh rate

This makes for a *MUCH* clearer, smoother image. Before adding this the whole screen was blurry, and this is as crisp as can be.