(Most of) the source code for Combosaurus' pubsubd.