Implement sulpher-as-erase.

Also various bugfixes.