In the process of changing the grid to be made of frames

added global vars canvas row and canvas col
implement these variables where the canvas is grid'd

finish the loop that creats the frames