Added FPS printing method to debugging.