Modify GUI to add SP counter