I took another look at my code, and I realized that I can have up to 255 drawing commands. I'm reserving command #0 for an undo feature. And as for a paint bucket, I'd like to have two: an 8-way flood fill and a 4-way flood fill, and any tips on either would be greatly appreciated.