Fix a few typos; add valgrind target to makefile