optimization: events only sent to subscribing clients (now also works with single process)
optimization: output not processed if noone subscribes to OUTPUT