When closing your laptop Windows goes into standby. It should only install updates when shutting down and it tells you that beforehand. So it "did what it said" ;)
> Windows scatters files all over the place!
Just have a look into your Library folder on OS X. Also some programs don't use that, but create a dot folder in your home directory. Maybe I'm missing something though? I haven't used OS X much lately.
Library is pretty well organized. Settings go in Library/Preferences, cache files in Library/Caches, persistent files that don't need to be exposed to the user go in Library/Application Support, and they're all organized by app name or bundle ID.
Apps which use dot folders in the home directory need to be smacked until they stop, but the OS can't really control where (non-sandboxed) apps put things, it can only establish conventions and encourage apps to follow them.
I can't look it up right now, but I think it's called "Library Support" or something? Anyway: When I was writing a program for Mac OS I had to choose the name of the folder myself. Using the app name or bundle ID seems to be just a convention, I don't see the difference to %AppData% on Windows or ~/.config on Linux.
Also I remember a tool I used when I had a Macbook which helped you remove all the files when uninstalling something. I think it was this one: http://www.macupdate.com/app/mac/25276/appcleaner
I remember some programs even putting files in other directories than Library Support.