initial keyboard event handling. support for deleting selected graphics