Various spelling mistakes and code errors as pointed out by eagle-eyed readers