added grid size and max zoom vars to config