Ensure we only fire at each global event handler once and deduplicate mu...

...ltiple registrations of the same handler.

@dwoos