Added extra printing on thread creation to help debugging