Fix management of engine load failure.

Also improve docs and improve readability.