added simple communication between GUI and the simulation
(paremeters set from MainWindow are used and console output is shown
after clicking Confirm button)