Tweak Job Scheduling code layout.
Make estimate command somewhat more robust.

Fixes #349: Director crashes on estimate command of Copy Job