Add some more documentation.  Fix a few typos.