bugfix: call DEBUG_Shutdown to properly restore the ncurses console.