Main frame of GUI version