More events stuff, added a eventDebug event