Use werase() rather than wclear() to avoid screen flash