More debug output.
Set sGraphicsEngine to NULL in case of failure
More debug output in CHUIResource.
Catch any exception.
More debug output
more debug output