.editorconfig added.

+ minor whitespace and style changes.