Flow fixes

This commit adds a few style fixes and corrects a few grammatical/typographical errors.