Also added error and exit for when there's a mismatch in the number of vertices vs. the number of UV coords (either primary or secondary).
Also added error and exit for when there's a mismatch in the number of vertices vs. the number of UV coords (either primary or secondary).