TS-3006: Fixing more obscure build errors and documentation tweaks. This close #120.