Ftfy

Small fixes and typo cleaning from stuff noticed while reading source.