added delete key support - no longer sends the browser back in time if the canvas is focussed.