Some quality of life changes added.

After adding a new node, that node is instantly selected.
Items selected in the tree stay visibly selected even after the tree
loses focus.