added gaplessgrid, removed drawsquare()