Removed unused variables.
Removed unused variable that caused additional items to appear in the GUI.