added constructor for mq type plus listener
improved event handling, with support for pre-filtering