FPSCounter: Add "Log render time to file" feature.

Allows for a more accurate performance measurement.
FPSCounter: Use a Timer for the FPS update time.