frame rate manager

it's bad, but whatevs