create a console window