fixed direct job start buttons

buttons in CC window / find nearest job didn't work anymore (since
reinvention of variable job times!!)

+ some code cleanup around the altered lines
Merge pull request #2 from petee-d/fix-for-direct-job-start

fixed direct job start buttons, refactoring