GUI Code Cleanup

Removed unused method in GUI.