changes to address issue #6 JNI routines should not save JniEnv

One additional comment, the check:jni errors will only show up in a multi-threaded kernel dispatch situation