fix memstream implementation.
memcpy beats strcpy,
zero-terminate all strlists,
track length in a member,
fix writeln/readln semantics.