Fixed a problem while trying to determine models’ app
Updated the base page layout.
Updated error pages.