updated queue to support setting a dispatcher to accept an unhandled exception handler.