added code to fail-fast during engine-update-loop.