You can exit the LocalMain by selecting the 'File | Exit'( Alt + F4 key) of LocalMain.
If you checking the 'Display Prompt box when closing this program' at 'Config | Other', it confirms whether to exit the LocalMain by displaying dialogue box such as <Figure 1>.
<Figure 1> Program exit dialogue box
Relate items)