This is a mostly working copy of this idea