From: Ab_DeWeese on
Similar issue here solved, code looks like this...
 
Init routine - while loop containing event structure - Cleanup - Quit-if-Exe
 
1.  Exe will not quit if event structure contains the <Application> Instance Close (not Instance Close?)
2.  Even though event structure is no longer executing LV still will not exit.
 
Solution, remove application instace close event and it shuts down just fine.  Thanks for the thread, it helped me zero in on this same issue in my application.