Add early attachment functionality.
Add thumbs to attachments.
Fix caption saving.