I was drunk yesterday I guess

Invalid variables and always re-starting arrays I see. All fixed, yay.