Enabled static error page 50x

Also some minor formatting changes.