[Bug Report] Can't run server without GUI

Description of Bug

The current version does not allow to run --server without GUI. Specifying --server will open the GUI without the --gui argument.