Moved page title & error display to main layout