Do not put back last window when switch to a background window.
Add .gitignore.