changed tree update mechanism and fixed line wrapping
fixed minor glitch
Merge pull request #139 from LivelyKernel/tree-fix

Changed tree update mechanism and fixed line wrapping