Why not make id's to each picture drawn with /drawpic, so we could use /removepic, /hidepic or /unhidepic on <id>. It would be much simpler to remove a picture that is drawn with the same color as the background.