Added cut-copy-paste operations to the keyDown handler, as suggested by Simon Geilfus.