added toStringBase docs, improved fromStringBase