added analytics snippet
Merge pull request #794 from waterbearlang/705_add_analytics

added analytics snippet
play script in full-size mode regardless of autorun or preview visibility
minor style cleanup
checking in current state before next refactor
moving components out of ui.js into widgets
removing out of date docs
this is turning into a bigger refactor than I planned, getting scared now
adding planning doc