logging tweaks
job state bug and test case
better handling of bogus cases in tracking job path