Cleanup leading whitespace
Correct headings based on python style