Move FPS logic from Window to FPSCounter new class

Window class is getting too large, this helps code readability.
It might be necesary to move more code into new classes