kind of fixed drawing algorithm, fixes grid, added dimensions on grid, infowindow