AutoCompile should now be more robust when the unexpected happens.