Fix typos and comment formatting