Cleanup. Change maxfiles for batch submission and (hopefully) fix problem when skimming large files.