Some cleanup of the FPS limiter code