Interactive hierarchy tree made to work

Fixed some bugs preventing the tree from working.  Also customized it
for the data it shows.