Cleaned up some typos

Also i have changed some thingys so that they could be easier to understand.