Removed redundant code in DisplayGUI
Fixed some DisplayGUI logic