Fix constraint error that appeared with Xcode upgrade.
Fix race caused by notification on non-main queue.

The visible symptom that was fixed was the list of receivers not
appearing sometimes until the UI was clicked with the mouse.