Revert "replaced deprecated Curses.endwin with Curses.close_screen"

This reverts commit c88af6924cd81fe6901e4fae257498bed8e31ae2.
Revert "Update interface to use Curses lib instead of Ncurses"

This reverts commit f8221c1a8308974079ce6f79f74a533a63f6bcec.