Fixed some typos and added *.swp to the gitignore.