splitted the work queue in 2, a gui queue and a multiprocess queue