added javadoc for removeGUI