applying removeNode fix from commit 5fb5028 (gigib82)
add the possibility to load a branch as first child or as last child