Allow server start in headless mode with "-nogui" flag