cleanup resources. complete level window