Add ncurses. Change acsync code. Change acdsp code.