Improved JobManager.cs.