Fix spelling errors and formatting in comments