versioned
Fixed some memory and cpu usage issues
Merge in upstream; make ST.emit only emit once per event per loop with an array of results
Remove leftover St.emit