Added message passing to determine when the xsl is rendered.