Revised kernel.c and term.c, now non-printable characters aren't printed