Cleanup code, add jni for harfbuzz-ng & freetype