WIP, adding thread info structure to handle the progress of every thread