updateUi() now returns torrent state by default