Fix some typos and formatting errors