Fixed a bug where get_name_nids had autocommit=False, but that caused an unused result to be placed in the queue
started to break appart draw_func2