adding agenda support. Reworked to be able to find the titles in existing slides