Warning cleanup for client/main and Win32