Pull request for Issue1034: XES Apply to scans issue

"Apply to scans" is working, but the fact that it writes directly to the db, which doesn't push those changes up to open scans continues to cause problems for users.

Added a confirmation dialog to try to clarify this to users.
This what?  I can't find any examples or documentation suggesting that anything should be deleted in main()?