Rewrote RunCommand - no longer requires a lock file, and able to run x number of jobs before exiting.