Fix some problems caught by msvc in the game module
Fix some things found by msvc in cgame