fixed rt_joincount!
Use txn in dbr-scan - MUCH faster on an empty dbr database
work around DBD::SQLite returning quoted primary keys :/