Fix the scan to reduce false positives.

Also, truncate the lines on output if over 100 characters.