pass window.name to every view (TODO canvas naming)