Minor Fixes
 * Only run the first job in the directory
 * Check for new files on each loop
 * Only sleep when there is nothing to do
Merge pull request #22 from iseppi/fix-looping

Minor Fixes