Removed the multiple insertion of parent elements to the tree view. This

eleminates the warnings and also the extra space in the GUI.