add get more info about torrent for debugging purposes. remove printing out of the path, and remove redundant waiting and adding of torrent - it will continue to download from magnet link automatically
urlencode the magnet link - it has ampersands in it and it breaks the parameter chain in the download url and looses trackers, etc