Added a default error handler in, now you can specify a handler that can return html instead of a bleak error 500 screen.