Little things: C++11 narrowing; conflicting declaration (curses.h); remove deprecated register type.

Not much more to say than that.