open 1st window after closing win in treeLayout

Closes #355
Closes #356