Library crashes on managerevent, datablock[evt.actionid] not initialized

Previously, a crash would occur on a managerevent being emitted, due to the lack of initialization of datablock[evt.actionid] before pushing onto it. In this pull request, datablock[evt.actionid] is initialized to an empty array first, and events come through fine.