Preliminary tree view working.