Improvements in the treeview