Added error checking in animation loader to mitigate user errors. Also cleaned up warning messages.