use non-minified d3 for debugging purposes
move addGraph into listQueries; move disabling button out