Fixed up display of attachments and prepare a list for download.