Additional MathJax support for slideshows; some fixes for recursion slideshow