Updated b. Layout grid and render loops