Moved curses code to core and added pdcurses.dll