Some terrible code to do the experiments on the web. Not done yet; checkpointing to reboot.