Added the statistics to the GUI.