Minor code improvements and comment fixes.
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8