add input processing + CTRL-Q key shortcut for timestamp