Fixed some issues reported by the Mozilla Addon reviewers.