Minor fix for image title

Decode any html elements that may be present in the title and omit quotation
marks in the title string. As a positive side effect, prevents showing a dialog
for existent but empty title strings.