Notes from the desk. Mostly engineering.
Tree copying, topological sorting, and a queue design that quietly removes a whole class of bugs.