Cleaned up code in StatsGUI.cs