studio cleanup

A couple of relatively minor cleanups in studio. Grunt tests all pass. I'll probably also try to do a little bit of a manual pass.
window.setTimeout expects milliseconds, I think we need `opts.seconds * 1000` here