Improved error pages

Use correct layout elements title and content for error pages