cleanup of section markers and a few other bits

Editing this with the github built in editor, which seems to generate a diff that has every line changed (!). Wondering if it trims end of line spaces.