Window closing was improved