when recording, and playback, do not save commands
added const
keep set ic in frd, and initialize search flags with value
allow variables to be selected as well