The program mode: _GUI or _GUI_TEST is now defined here and it applies for both main.cpp and Simulation.cpp. If you don't define any of the two, you can test the simulation without the socket