Updates to make best use of goncurses functions.