Clean up some typos in README and superfluous code.