Several code fixes: changed piecesDownloading into a bit field and changed the download status print to output only once a second