> How long will it be before there are apps where the 'close' button on the window actually does something else?
About -25 years or so. Doing this is entirely possible at present, and part of normal functionality for a lot of applications. For example, when I "close" xchat, it actually minimizes into tray, because that's typically what I want it to do.