Optionally set the uncaughtException handler, so we can support domains