fixed undo, added 'duplicate current take' (does not duplicate keys)