fps_counter: rolling frame counter for accurate FPS.
Remove any FPS caps to allow accurate comparisons.
Move buffer building out of the event loop.
Merge pull request #74 from eddyb/fps-counter

FPS counter.