Changed variable names, freed some RAM.