some more bug-fixing / glitch-fighting for OMEtiff generation