few error handling fixes
finally make the heirarchy viewer collapse the children