Another Question:
In your graphics file for the FillRect code you have:

frect:
s_ystart=y0
s_yend=y0
while y1
s_xstart=x0
s_xend=x0+s_xend-1
gosub dLine
s_ystart=s_ystart+1
s_yend=s_ystart
y1=y1-1
wend
return

Shouldn't that line be s_xend=x1+s_xend-1 ?

Troy