Revert "Revert "Added FPS counter""

This reverts commit 2473daee79157968cd47a9c0793dd45aa0152c3d.