Making a child-parent system for GUI elements.