integration serverGUI into mainGUI