Fixed chapter refs, whitespace.