fix formatting and typos
Merge pull request #371 from dlobo/MiscFixes

fix formatting and typos