Missing refresh()  calls everywhere. I'm new to ncurses.