log->glog; more bencode fixes