minor layout refactor in the torrent code