log blocks when purging; some TODOs
fixed empty open orders list bug
new format for DB INSERTs: util.credit()