Added frames per second counter to monitor performance