Improved, more readable FPS limiting