Template watcher more amenable to extension.
Polished the mirror (events).