class library: patterns: only add removeFromCleanup-function if necessary.
This is
(1) a little more effeicient and
(2) keeps the events better readable if possible
help: add Pevent helpfile
class library: allow to customize the way events embed in streams.
If no inval is given, just return the event (This fixes #1107).
help: allow to customize the way events embed in streams.