pass emitter as an opt to messages plot function