Most suggestions added. However, left out the obvious (WM_DELETE_WINDOW protocol) since that is standard Tk documented elsewhere.