Implement the [browse], [edit] and [tree] views.  Major cleanup.