altered debug() so that it does not cause double entries in the log file when using Backend->log, and altered log() to be more like Backend->log
fixed edge-case of there being no heartbeat when finalising a job
reverted log() and changed debug() to warn and not log()
removed some extraneous transactions and fixed up how we wait for the Job to trigger
evald the submission montioring code, incase something goes wrong there