Fix various typos

Thanks for reviewing this patch.