moved mutex out of async tasks, added comments
added integer percentage function (out of 100)
migrated thread to BackgroundWorker
deleted old code
typo