Fixes #3. In non-debug builds, registering twice on the event bus is silently ignored.