Move FPSCounter calls to RenderBase.
FPSCounter: Flush the logs every second and close them when the renderer is shut down.
Turn the FPSCounter namespace into a class.
FPSCounter: Remove redundant destructor.
Merge pull request #595 from Armada651/pref_log

FPSCounter: Flush the logs every second and close them when the renderer is shut down.