Fix broken windows stdscr and purge broken "window 0".

fixes #3382 #3378 maybe…