Fixed typos, removed dead defs, and fixed some thisly issues with adjustcloudfont