Made gen method more flexible in what input it accepts, allowing the user to pass in event object with name and data properties as first argument, OR pass in name string and data object as seperate positional argument.
Made gen method more flexible in what input it accepts, allowing the user to pass in event object with name and data properties as first argument, OR pass in name string and data object as seperate positional argument.

mattoshry/SCION-CORE,mattoshry/SCION-CORE,mattoshry/SCION,mattoshry/SCION,mattoshry/SCION-CORE,jbeard4/SCION,jbeard4/SCION-CORE,mattoshry/SCION-CORE,mattoshry/SCION,jbeard4/SCION,jbeard4/SCION,mattoshry/SCION-CORE