Simplifying agenda generation logic.

Assuming the title of the slide (if any) will always be the first line of the slide.