Fixed DownloadThread

You should be able to install apps aswell (not tested)