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.
Add internal AlphaBlend Function for All device
Screen orientation, save OS orientation on startup and restore it on shutdown.
  this is needed for allow use landscape mode with Oudie 2 device.