in-page toc generation fixed, as well as other XSL problems