Search by typing while the treeview is selected (replaces any other search), fixed annoying bug that made the focus of renaming window not be correct.