Fixing a few tyopes and other coding standards errors