Reorganized treeViewSelectedChanged and treeViewRowClicked to separate responsibilities.
removed unnecessary focus code.  Added Todos.  Clamped selection in _setSelection
added check in setExpanded code.  Reindented