FPS counter cleanup

- Isolate it into it's own namespace
- Shorten function names, the namespace self-documents.
- Just use the std I/O, we can just write directly to the stream for
  logging.
Merge pull request #549 from lioncash/fps

FPS counter cleanup