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

This also keeps a history of edited prefix args.
Move cmd editing to outer let.

This prevents buffer creation if user cancels during editing.
Merge pull request #3 from tobias/prefix-arg

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