GAH!
Ok, if you are going to be creating and deleting that many,
it may be worth your while trying to find a way to 'remember'
any buttons or digits that have been hidden/deleted,
and re-using them instead of creating new ones...
Say, for example, creating an array for no-longer-used buttons,
and another for no-longer-used digits, storing their element number...
Then using pan_setbutton and pan_setdigits to "modify" the old, hidden
buttons/digits to their new use...