Add ExecutorFactory - now detectors can create their own gui or non-gui executors, depending on who called them.