...leaves the console window open after the dialog box has closed instead of closing as for other programs. There seem to be non-terminating threads. I know the console can be forced to exit by ...