Clean up application_controller a bit, comment it well.
Fix wrong message, get rid of unnecessary variable.
Don't expose variables that are not in use in views.
Merge branch 'clean-up-controllers'