Removed unused JNI import, tidied up build script
Added WAV export capability