Improve the handling of transparency in animated images
Add error handling for the new #UDGARRAY macro syntax