Implemented progressbar for encryption and emailing processes.