some changes to facilitate the deletion of the wood crate pieces when restarting a level