BRANCH 4.2-DEV: added a max limit on number of jobs the queue will run
before a restart.
- added some better support for subdirs on upload