added updateGrid() function ro recalculate the grid.
added setGridRange() slot to PlanetsWidget.
made grid variables private.