Fixed Some Things And Added An Error And Logger

Also made the drawString() functions more adaptable.