Clean up loading of error resource.