Make navbar-brand link to the index page.
Display relevant traceback lines on error pages.