make stable on canvas reference absence in template
add path to SourceWrapper, little refactoring sourceById
change template example up to date