I noticed something more, when I hit "Run without debugging" the first time, the console (program under windows without -wg to debug) is displaying no text, I need to close the application and hit "Run without debugging" again to see the text in the console.
So definitely a problem with "Run without debugging" that works fine the second time, not the first.