Made some more global fixes, starting work on WinPlatform.h/.cpp