Fix spelling and other small issues
Merge pull request #659 from nixw/spelling_fix

[C] Fix spelling and other small issues