Switch event api to plugin export c-style calls. Virtual-function calls too fragile.
Removed previewOnly given it is available through OBSGetPreviewOnly.