Sync from xmltools
Update tree rendering
Sync xmltools
Add button to hide the tree