Moved the Script Event Data (Object, Function, SharedBoolean) into a new ScriptEventData class.
Added containers of shared pointers to ensure proper deletion and Reference control of the asILockedSharedBoolean.