Comments and bugfixes in text and tools methods

Bugfix in tools\to_keypair
Bugfix in text\make_readable