Implements tabbed logging

- Terminal output is now tabbed depending on the depth/number of
external references.