Add miniz v1.14; fix some memory deallocation bugs.