added nearly all of NCurses functions and structures