Fixed a couple typos with failed resource loading handling.