Created new GUI and move most GUI stuff from Main there.