Move DLL injection code to the main engine.
Cleanup.

That should have been all the whitespace issues.
Simplify size calculation for translated Win32 dialogs.

Well, it always takes a while for me to get the best ideas.
thcrap_update: Add UTF-8 wrappers for the wininet functions used.

Sometimes, you just got to do the right thing... even if that means adding about 150 lines of code that seemingly do nothing.

Anyway, this means that the engine now truly uses UTF-8 everywhere.
Remove UTF-16 JSON and logging functions from the main engine.

Finally, everything is consistent. Encodings should never be mixed again.