fix DrawGrid

the grid was extending past the edge
for example Demo7: http://i.imgur.com/QdoOlzY.png
this also changes color & draws an edge
http://i.imgur.com/iHIkpCl.png