Amendments to PHP includes for HTML views.
Refactoring of ErrorViews.