loose collection of processing hacks, including leaf.