added nearly all of NCurses functions and structures

Hi! This commit adds most of the missing ncurses functions and structures. It does make compiling it take a lot more time, but precompiling should probably help.