your second question is to do with the width of the graphic that makes up the tiled background object (in the template example this is 39 pixels) so when you create the new block in event 6 instead of creating it a random width you should create it as a multiple of 39 (something like
set width to (choose (1,2,3,4,5,6,7,8,9) *39)
should work