Added some initialization for ncurses. Should be moved to a display file.