fix unfinished code
update to snap.svg dependency

also fixes bizarre chrome issue that is probably a chrome bug.

issue #78