Context settings and much nicer design for tree viewer