Tidying up error page and adding reporing