Added new readString implementation, passed basic tests.