renamed mark to get_txid; more extensive testing; bufgix