remove clearEndLevelWML which was unused