* instantiates the function selector. It also creates the console flush task
* and the service responsible for running the JCGP experiment.
*/
public GUI() {
jcgp = new JCGP();
functionSelector = new FunctionSelector(jcgp.getResources().getFunctionSet());
/*
* This task flushes the console in a thread-safe way.
* The problem is that this task is executed using Platform.runLater()
* to ensure that the flush itself happens on the JavaFX thread. However,