Fixes glutMainLoop call

- glutMainLoop function is now called when a screen is defined. This is
now executed with a graphics flag.
- Processing files is now conducted within a separate thread. This
required the creation of a struct that could hold the filename and
arguments to pass to the ProcessFile function.