Hi,
uhm, that's odd. I can't repro exactly what you have, but something slightly different where the state stack goes blank after you rename a state and straight away create a new var from an action on that state.
Maybe you could do a screencast, then I'll try to do exactly as you do to try and repro.
Bye,
Jean