JobManager
Separated threads into root and branch thread structures. Need to introduce ThreadTree concept for easier troubleshooting, and probably something that may be extracted into its own repo.