Added support for keyboard accelerators
Fixed undo and redo bug