* links that cannot be made now properly raise an error

* handle unhandled exceptions as 500 errors. Send traceback to stderr.

* allow exit and keyboard interrupt to exit still.