As I arn't using WinMain as the entry method for the exe, we should use a console based subsystem as to allow the application to close correctly.