clean import

be lazy when adding container folder for region files.
update default config.
Fix wrong ReleasePrimitiveArrayCritical call in JNI library.