slightly improved redo and undo buttons

needs more testing