Minor hygiene

These three commits replace "if (p) free(p)" with "free(p)", fix spelling, remove tabs, and finally run astyle.