Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.