fixes

File name output lengths - truncated if too long on pdf
callspmsegmentation only when not previously done
file names now consistently as cell arrays in structure