Insanely aggravating uninitialized currentIndex fixed. Initialized to 0.