Added FPS counter and properly implemented new line timer