Checking window properties well