Fixed bugs in the KS0108 module, making it usable