Don't go over 80 cols. Start with captial letter, capital letter afer point, end comment with a point and so forth. No actual code behavior touched at all.
This commit also includes minor aesthetic changes like removal of trailing spaces.