Closing the initial progress dialog when the torrent list has been loaded

The initial progress dialog is closed only when the list of torrents has been loaded. Useful when loading the list actually takes some time.