Fixed other minor mistakes

Also thanks to @antograssiot for pointing out a few mistakes I couldn't see at first reading!