Added event trigger methods, OnCodeEditorLoad/OnCodeEditorExit events