undo/redo buttons now disable, when nothing is to do