Fixed final deletion of "new line" characters
Fixed some doc typos