lots of typo fixes and minor corrects