Tk_CreateErrorHandler

Registers an error handler to deal with asynchronous X11 errors. Without this, the application will exit on receipt of an error from the Xserver (often, but not always, desirable).