Restoring missing title metadata.

Also handling when there are no images to embed.