fixes for the tree_panel
Merge pull request #9 from phgrey/master

Just a little fix for a tree_panel. It just work, but is still bad-documented and not-tested