Fix a handful of bugs, split out __DATA__ section of shared-canvas.pl into templates.
Use SVG.js for drawing instead of custom draw code.