Typos, compiler warnings fixed

The fixes for README.md will be visible on GitHub, the other modifications are cosmetic changes.