Set the codepage to 65001 before generating
Add check for running on Windows
chcp only needs to run once
configuration changes
spelling fix, cleanup header levels