Fix Wrong GDI usage.
fix missing variable initialize
Fix Wrong GDI usage.
Fix Possible Buffer Overflow in Replay Logger.
  buffer is uninitilized, so result of _tcscat is not defined
Fix many display errors using custom screen resolutions in landscape mode
Always use ScreenLandscape to check for landscape mode, not sslandscape.
Custom resolutions do not use ScreenSize.