Adds utf8 support by using ncursesw.

A library check was added for ncursesw and if found
it is used instead of the default ncurses.
Extends utf8 support to other windows

'isprint' function considers utf8 bytes non-printable. This change
replaces use of 'isprint' by '!iscntrl' for non-printable character's
exclusion, which allows a wider range of characters to be displayed,
including utf8 characters.