updated demo page, cleaned up TemplateActor