Well your issue with the query portion is you mention
(highlight corresponding query when user clicks on item(s) from dropdown)
That will not be possible because you have:
query.returnGeometry = false;
Next the issue with your drive- time analysis seems to be:
driveTimeTool = new ConnectInputToOutput(params, "toolPane");
I don't see where you have ConnectInputToOutput defined anywhere in your code.
Cross-posted to GIS StackExchange
Retrieving data ...