Use different process to run GUI and Backend.

Add helper to run process.
Run Backend in a process, started from the GUI.