spelling fixes and other small mistakes

merge spelling fixes by max