Modify Transmission to return Torrent objects rather than arrays, and modify StopIf to use the Torrent object