Implement rudimentary CLI

The basics were already there. 
Just don't initialize the main window if the '--nogui' flag is passed

argument parsing should be cleaned up and we should probably just use a library for it

The GLFrame still opens if the RSX is used, so it's not a complete cli but for non-rsx tests it should probably work on headless machines such as the CI