Added support for ncurses WINDOWS and a way to init ncurses