script now tries more encodings; tuned the 'length_high' param; readme typo; added phd pdf