Changed context menu to be generated in code rather than hard coded. Handled Ctrl+C/V and the delete keys