Fixed som emore bugs and added features to the KS0108 module