Add a way to limit the frame rate. Ideally, allow for more flexible control over updates, to support non-game gui applications that should sleep when idle.