Implemented String_append_stream and String_write methods.
Fixed several compiler warnings/errors (mainly implicit type conversions).