de-IIFE; minor refactoring
improvements to eventDumper plugin