Added filter for unprintable chars.  Also catch the ASCII BEL character and call gdk_beep().
For reasons I don't know, it doesn't actually beep.