Fixed typos, newlines

General cleaning for pull request