add .gitignore
improved powersaving and autoguessing