Little fixes for rtorrent