Fixed a few typos and removed one newline at end of file