Finished internal documentation. Code cleanup. Test refinement. Version bump.