Improved undo keymaps

- Use command-z instead of control-z on Mac.
- Redo for control-*shift*-z or command-*shift*-z.
  Previously it also did undo, which is not commonly expected.