[enh] small optimization in clean string
[mod] added progress output