Fix missing function, ensure raised errors are of a defined class, and emit which files are being worked on at the time so we can see progress.