Fix some minor typoes and errors