Decoupling of keyboard input and ui.