Updated index browser and viewer to handle any depth nesting.