Documentation. A few new features. Some cleanup and formatting.