Installed a check for filecorruption, some minor changes which I don't remember