Fixed bug non-centered grip, by incrementing y coordinate by line width
as well as line spacing. Also refined logging.