Improved the treeview interactions.