master: canvas: add drawLabels and setupDrag