Minor header files fixes and cleanup
Minor code reordering
Change coding style for blogging

- line length is 64 columns
- no tabs
- indent is 4 spaces
- continuation lines are 1 indent
- no newline after open parentheses
- no newline before close parentheses