Synchronize on the queued notifications rather than pausing in tests.
Let KeyedMessage listers handle DiagnosticRequests, too.
Fix notificing listeners for Measurements, more specific than messages.