added a couple mimetype icons
made attachments persist state between multiple windows and deletable on just uploaded