Made long fors more readable.
Fixed space around && and ||.
Made append_sstring work when destination's string is smaller than required.