Fixed charset corrector bug, when some unicode symbols be converted into illegal cyrillic symbols.
Some PEP-8 fixes.