Added window delete