changes to grid and better use of right spacing

Also, added some minor fixes and the issue @ashok-conflux raised also fixed that also. Also, send detailed details in mailing list about it.