fix #24, address #14, add *.log to .gitignore