many various fixes

getch() so far works in non-conanical mode, as unimpressive as it is.

various issues with multibyte sequence decoding, currently looks like
the loop timing and buffering at issue.