Lots of small thesis changes.