Added stats and the beginnings of a GUI.