Changed callback parameters to be more useful

Also allow for updating slide duration on the fly on a per-slide basis