a bit of cleanup and a gitignore
make stat1 run in python 2/3
fix stat1