add thread configuration parameters. also cleanup configuration structure.
ensure that each minor fragment gets assigned at least one row group.
add local mode for QuerySubmitter