some last minute multithreading updates with debugging output