replacing tabs with 4 spaces, removing superfluous whitespace at the end of sentences\n\nreference #4