Implemented threading to avoid making the UI unresponsive during downloads, commented out unnecessary error messages