Improved the ARRAY_PROCS macro, changed some stuff wrt thread joining,
but things still don't work