Added getElementString method, and theme/swatch templating