Put in a hard limit of 50 in the for loop in getCharacterColors(). IT was throwing Array Out Of Bounds Exceptions. It was going to index 50 in a 50-element array. Classic off by one error.