levelLastToActual(true);
registeredActions.push_back(theCommand);
actualIndexToExec = registeredActions.size()-1;
lastAction = actualIndexToExec;
levelLastToActual(true);
registeredActions.push_back(theCommand);
actualIndexToExec = registeredActions.size()-1;
lastAction = actualIndexToExec;