Fix way of counting lines
Improve debugging output so that one can better see the number of newlines
Fix typo
Nicer formatting of debugging message
Correct handling of the last newline
Version bump, changelog
Add my name to the list of authors so that the world knows that David is not the only one to blame