TemplateContainer: fixed bug with empty data objects
TemplateContainer: removed console output. Code review done.