1.handled error codes 2. fixed % downloaded 3.switched from curl resuming option to range option. 4.added a forced return from thread when download speed is too slow for a fixed time.