Gui- fixed bug in 'Undo'.  Simplified blocks generating for graphs comparison (after adding 'Block' model)