add TypeError exception to parseEvent() method.
Noticed when running handling events inside subPlugins in XlrStats plugin.
Minor additions