add a crash handler at initialization

At least to me, crash implies that the *program* crashed, not a single thread. I know it's verbose, but I would probably go with something like "Thread died with exception: ", though I don't feel that strongly about it.