GridX,Y,Cleaned up Global Var