Add keyboard class, add some optimizations to Output.printChar