Removing obsolete attribute.
For clarity, do not re-assign null merged_job value.
Update finished_jobs function to reflect new merged_job default.
Update missing merge jobs as well as non-merge jobs.
Add validation of input and xml files.
Move validate function to keep core.py tidier
Reset the chunk, whether or not the last one was added to the merging update.