The context var 'active_sid' was only needed to decide, if the agenda should be the active line. So I changed it to the context var 'agenda_active'.

A general context processor is not necessary. 'Normal' slides can work with object.is_active_slide. Only the agenda has two special cases. The agenda and the kwargs.