Lots of little fixes and typos
Final changes for AU Press version
Cleaned up some C++ code and added Btrees