commited David's changes made via pdf.
merged David's changes.
several minor changes.