Fixed a few typos. Everything is compiling and working now, except a few
fuctions. Just remove them from you project for now if you want to test
the program.