Removed some extra GUI code which wasn't actually being used.