Improvements in the tree view