several fixes with windows
tree dump moved to tui