Adjusting behaviour of tree window when tree blocks deleted (naming of
tree, what tree is shown, etc.)