reflect code page for console output
renamed EncodingForConsole -> GetEncodingForConsole
MixIn returns boolean value
updated modgen script