add MAX_VST_EVENTS constant