Correct implementation of GUI attachments checkboxes, no duplicates, checkboxes get removed if inactive
Alignment fix for attachment scrolledwindow
Implemented message content check for discard and quit handlers