passing event handlers. see #4807 #4803
permute onProgress and onError in TGALoader
Merge pull request #5423 from vincent/dev

passing event handlers. see #4807 #4803