working on unicode input compatability.

use get_wch for input from curses and also make sure
prefix strings are relative to what get_wch returns
on control character input. also generally make the
data types for characters more consistent.
use key_name instead of wunctrl for screen_unctrl
minor fixes for some warnings