cleanup goncurses debugging