In the Kill example, VxSetVar(VTCL) attaches the list widget to the form. This makes the list available to other procedures.
The DoRefresh procedure ends the Main section of the program.