Handle NPE
Tidy up code and remove soft reference ByteBuffer.  If it is to be re-introduced, do so in a way in which it has to be specifically turned on in docx4j.properties.