While we're on it, I'd advice to drop the word map_'Length' here and use map_'Width' instead.. it's a peanuts-remark, I know, but everything is always width/height.. like the Rect command for example..
Another one,
the DrawBox function.. perhaps in the future you come straight from another function that does some drawing.. what if that function changes color? Always add a color r,g,b or color ,,rgb command when you're drawing!
Another one,
the DrawBox function.. perhaps in the future you come straight from another function that does some drawing.. what if that function changes color? Always add a color r,g,b or color ,,rgb command when you're drawing!