Fixed a couple of printfs and a typo.