Added functionality to get output of average fps and light count. The information is printed when the player loses.