change whitespace and improve commentary in config

also add newlines at the end of a bunch of files
and other misc changes

Change-Id: Ia5c0c80ef663c28f75dce23e15ab848bd8ce79be