All PAT exit dialogs now correctly handle events and both methods of exiting
Also added a validator for the number of workers setting
[delivers #58449308]