Allow editing of server exec command when prefix arg is given.

This also keeps a history of edited prefix args.