- Added support for templates and variables using data-content-template and {{variable}} syntax
- Added new functions: setContentTemplateByName, setContentTemplates, flushContentTemplateByName, flushContentTemplates
- Added visibility modes: auto (new default), manual and none
- Added better error handling in runCode when in preview mode