Slight refactoring of threading, downloader crash still occurs