calc_tid moved to btcx/mtgox.py
Minor adjusts.