Fixed a bunch of typos I introduced when converting tabs to spaces.
Also added more stuff to .gitignore.