Fixed some array shit. Still a lot of shit. baaaa