Fixed a bug with JNI that was causing windows release build to crash
Started working on xml loading