Fixed typos and various other things