rewrote user_string.m to use getpref/setpref