Refactored child adding code to allow it to work on arbitrary nodes, not just the current selected.