Keyboard and keypress handlers now sends log data.