Prevent FPS overlap and add FPS to debug statistics
Change appropriate name to calculateFPS
Merge pull request #654 from raven02/master

Put FPS code into ShowFPS() and better approach to prevent FPS overlap when debug statistics shows