Took out debug logging, put the torrent checking in the right place