Minor typo fix in usage message
Minor PEP8 fixes in stats script
Refactored doc style in loop script