Fixed errors, torrent creation works.