Fixes for large result-sets, error-handling, query-panel updating.