Set the application up to work from the command line or with a GUI. The program is a console application that will not load the form if command line arguments are given, or if none are given it will detach from the console and hide the GUI