App crashes with error: "too many results to unpack"

Note that I edited my previous reply to handle all events, not just those of the Runtime object.