Fixed types of presence variables to resource_presence_type (avoid useless and implicit casts)
configure.ac: Check for ncurses instead of ncursesw
src/ui/core.c: Removed duplicate const keyword