Minor improvements to commenting; added square width as static member to GridPainter class