Fix small issues.

1. Fix some error links.
2. Normalize some layout-style. (braces, spaces, etc.)
3. Fix some typos.