optimizing tooltip and template load. Enabling html in tooltip. closes #1