Changing configuration for Menus during game

I am wondering if someone knows if there is a way to make the menu commands (when you have custom pictures for them as part of the lunatic command controls, like in the demos) to be adjustable.
I have the game start off with a few commands and when you advance, more commands become available (yanfly ace menu script)
When I tested this in the demos, I got an error (EvilEagles). Just by commenting out one of the lines (last one) for :
if select == false
case index
1...4
# when 5; color = "$bitmap[Menus, Save_Active]"
etc...

The error is window_base line 227 ... bad value for size.
Which talks about contents.font.size
This is Luna window_base not the default one.

So why does it complain if you try to take away a picture(command)? How would you add more?
I'm still trying to figure out all of the code in the Lunatic sections.

So I'm boiling down to; I want to start with 6 commands and work up to the 9 I could have. Is this possible, or do I have to start with all commands?

Second question which is similar in respect.
Can you have different backgrounds for the same menu?
Like if I started with one and later wanted to flip a switch, then a different background would show up for the main menu, etc.

Thanks for reading
I solved my second question.

I added in a few more lines of code and got the backgrounds to change for the main menu and the actor background using the builtin code for using the background variable to make the changes.

At the moment I've abandoned the first question. I instead modified my screens to adjust for all the commands to be present.

Original thread: https://forums.rpgmakerweb.com/threads/changing-configuration-for-menus-during-game.92004/