Lowercased error messages, cleared up comments, shortened some lines.

No functional changes.