Mavericks keeps launching recent applications at startup although I always keep the checkbox that should control this feature unchecked. This is really annoying, because (a) startup takes much more time, (b) I want to decide which applications are to be started and which are not, and (c) there are some applications that would crash (Apple's own Logic, for instance).
If I knew where OS X kept information about recent applications, I could write a script that deletes that at login. Has anyone figured out where these things are put?
EDIT: I'm also interested in the location where Mavericks puts the screenshot from last session. As you might have noticed, the screenshot is always shown first when logging in, then the screen is refreshed with the actual window contents.