Fixed newGraphWin issues.