I have noticed an annoying "feature" of Lion, and I'm hoping that someone might have found a workaround. If I uncheck Preferences->General->Restore windows when quitting and re-opening apps, some of my apps seem to ignore that setting after a restart. Here's a scenario which illustrates the problem: 1. Uncheck the Preferences setting mentioned above. 2. Open up a few Finder windows. 3. Open up a few Terminal windows. 4. In the Terminal Preferences, disable everything related to Window Groups. 5. Do a Logout or a Restart. Uncheck Reopen windows when logging back in. 6. Relog in. 7. Open one Terminal window. After step 6, all of the Finder windows which were previously open before Logout or Restart will also reopen. After step 7, all of the Terminal windows which were previously open before Logout or Restart will reopen, in addition to the single Terminal window which is manually opened after login. The only way I can prevent this from happening to Terminal is to add the following two lines right before the final </dict> tag in /Applications/Utilities/Terminal.app/Contents/Info.plist: <key>LSUIElement</key> <string>1</string> However, this has the undesirable side-effect of not showing anything about Terminal in the menu bar or the dock. None of this used to happen in Snow Leopard, Leopard, or Tiger. Does anyone know how I can disable this unwanted window-opening-after-relogin behavior in Lion? Thanks in advance. .