added / fixed basic torrent check functions