Complete rewrite of ptopgen from the ground up to use db/* classes. Checkpoint.
Basic framework is in place. Availability and printability is codified into functions now. Node.pm modified so that lookups can be done in bulk for efficiency. When making XML, we now create XML trees rather than printing out XML fragments.