Update viewer preferences.
Update .gitignore.