Fixed some jshint warnings. Fixed image size in prompt.
Firefox now uses the same prompt as Thunderbird. (Significant Other feedback suggested that it's nice than the HTML prompt we're using for Chrome.) Some refactoring should still be done to reduce code duplication between Firefox and Thunderbird (i.e., the openDialog call).