Added flag to disable the GUI

The flag to be used is either -n or —nogui