app: added some panics for the views.

We don't want to silently fail when a view could not be found.
debug.
debug,
app: apparently we can't go with absolute paths in Heroku ...
app: polishing some helper functions.