Fix a couple of issues in iql.js
Some more work on experiment editing.