Moved Navigation Bar Functionality to use the New Tree

Notable differences:

* For an external module in file `a/b/c.ts`, the "top-level" container is displayed as `"c"`.
Because there was already another function with that name; I've since created a module for it.