Re-added hash check for each piece while downloading
Finished some bugs