machine: added debug logging to KeymapManager, enabled by DEBUG_KEYMAP #define
posix: don't try and access a process group for a non-posix process
ttyterm: write UTF8 instead of single characters in the key input handler