Merged "UndoRedoRecorder.PopFromUndoGroup" method and test case from "ChocoButter" branch