Add .gitignore
Fix some warnings