Refactoring out references to Ncurses into one spot