Move termbox polling outside editor. Expose Events channel.