The grid size is now adjusted automatically

Many users have asked for an option for customize the grid size. After a initial approaching by adding a option to Preferences file, now after Dan's suggestion it is made automatically.

NOTE: The grid size is now adjusted automatically