clean up objects in window