Fixes #8
added a slight delay to tree rendering which seems to work for causing it to display correctly.
cleaned up some of the tree widget layout.