Added javadocs to RegisterGUI