fix tabs, improve Tree.__repr__