Add hidden files to gitignore

Handy for vim tmp files etc
Fix null pointer when skinimage has no image