update .gitignore.
update autogen.sh.
add better histogram.