Nearly 100% code coverage, and lots of miscellaneous fixes
Update docs and version