Define and use alloc() and dupstr() macros
Clean up after generating zconf()
Factor out yank() from yankaux()
Move operations on trees to a separate module