[2895]open_odf.sh tests twice before declaring a document as closed
[2895]Better logging. Avoid NPE. Make filenames unique.