ColShag, color coding will not help you. My ideal work flow is draw your gui (not based on any thing) then tell the Theme file where the blocks are and what they represent. Example of the theme definitions:
TEXTURE = "data/guipa2.png"
CHECKON = Stretch(360,40,20,20)
CHECKOFF = Stretch(400,40,20,20)
RADIOON = Stretch(280,40,20,20)
RADIOOFF = Stretch(320,40,20,20)
PANDA = Tiled(280,80,20,20)
INPUT = TileBorder(20,300,180,180,20)
FRAME = StretchBorder(20,300,180,180,20)
FORM = StretchBorder(20,20,202-20,182-20,20)
FRAMEBAR = TileBarX(280,480,140,20,20)
BUTTON = Tiled(320,420,20,20)
BUTTON = TileBarX(280,480,140,20,20)
BUTTON = TileBorder(288,170,490-288,190-170,5)
#BUTTON = Tiled(280,80,20,20)
#BUTTON = TileBorder(20,20,202-20,182-20,20)
DOWN = Tiled(300,160,200,40)
TEXTCOLOR = (1,1,1,1)
LABLECOLOR = TEXTCOLOR
INPUTCOLOR = TEXTCOLOR
So they are not really not that hard to do for scratch for every theme type. And that is they way they probably should be done. And i did fix your tiling problems so we are moving right along.