Fixes typos in docstrings

This one makes no functional change... just corrects spelling in docstrings and one error message.