ignore case where stdout is not a tty
update display style
add a quiet (-q) command line option
regroup program configuration into a struct
explicitly delete timer

So that valgrind doesn't complain about the potential memory leak.