Add keyboard shortcuts for undo/redo. Closes #218.