Documentation and cleanup

A little bit at a time!