add console option for windows

shows console when running on windows.