Tidy some stray whitespace and remove a couple of unused variables
Fix warnings about deprecated draw{X,Y}Axis options.
Use PixelSampler instead of Util.samplePixel
Fix the rendering of even-width lines in the grid rendering code. As an offset of 0.5 pixels was being applied, even width lines ended up being rendered with N+1 pixels, with the pixels at either extent rendered with 50% alpha. By only applying the 0.5 pixel offset to odd-width lines, both odd and even lines are rendered without antialiasing.