WIP - branch tree view

Pull request just to simplify tracking progress on feature #538