Adding option to turn off the console on windows.