add a couple of patches for ProgressDialog, SmtpEmail and GetBestEmailAddress