main_queue() config object added

doc still missing
cosmetic cleanup, remove left-over debug test aids
doc: add doc for main_queue() object