doco
move to structs over hashes in structMap and fptr handling, streamlined SaxDocumentGetNextPID