GI-1021 Fix memory leaks, and always execute asyncCallback when loading textures, even if texture fails to load.
Merge commit '8838cb555bcc19c819c54e7dff088dcaab828f7d'