Progress worker added. Comments added. Refactoring.