Updated cef integration for key input.