changed error message
changed define compared in check error function ncurses menu lib