replace puts with OutputDebugString
ensure the client area covers the whole screen