Sandboxing

Sandboxing is complete (albeit it has bugs), and cleaning up for version
2 release.