make color logging depend on TERM environment
make exit_on_escape work immediatly
add config of arbitrary exit key