Some house keeping

Got rid of a couple useless variables and changed the for loops in
FillGrid() to foreach loops.