Free cave properly
Allow chains of effects