mainGUI beta

complete mainGUI and functions for beta testing
mainGUI beta

variable name cleanup