Gh278 undo redo command stack

#278 
reducere de nesting cu break;