Additional documentation and a couple minor bug fixes.