move timeout to macro
add ESC, TAB, LFD
ignore timestamps of ignored keys