added two versions of the gui, one uses pack() and the other uses grid()