Add finished jobs to finished/failed lists, add some error handling, etc.