Speculative fix for Doremi certificate download on OS X.
The while (wxTheApp->Pending ()) wxTheApp->Dispatch() appears to
hang on OS X.