Add catch-all 404 route, and handle uncaught IO exceptions with a 500 error page