Finish two TODOs in residues chapter; remove some bad OCR that had been raising punctuation flags