bug fix

clicking a node in the tree now changes the root as expected.
ensure all nodes get properly un-highlighted