Escaped echo introduced, readme and examples improved, small improvements to tpl class.