activation for Templates and some error handling and reporting
improvements.