permute onProgress and onError in TGALoader