Mutable state is in state.clj

All mutable state, and the functions used to query and mutate it, is
now contained in state.clj.