Performance optimization - now keeping original times/frames and calculating dynamically new times/frames based on user modifications. Fixed issues with SwitchModeCommand undo and redo.