fixed add_links for torrents, fixed problem in link collector on non windows