prores: implement multithreading.