Exception occurs when AppBaseUrlPrefix is null
Fixes #965
Make sure triggered job run status is accurate,
If an old run states it's running, change to aborted,
If latest run states it's running make sure it is (by verifying the lock file)
Fixes #980