In addition, makes chasm handling a component, so it could be reused for chasm-likes which are not quite chasms. Also fixes a couple of bugs relating to building on top of chasms occasionally erasing the chasm.