Fixed a few encoding issues
Polished doc strings