Update GUI.cs

edited version of Jung's GUI code