fix logger statement and NATIVE.plugins.sendEvent check
remove extraneous log call
Merge pull request #1 from gameclosure/fix-logging+nativecheck

Fix logging+nativecheck