Avoid using wsprintf as a non-kernel32 function; fix non-Unicode compilation.
Added .editorconfig file.