Various changes, starting the documentation. (This is a terrible commit messagel; I'll start writing better ones once we hit 1.0 and things are less up in the air.)