Use function called-interactively-p without argument for older versions of Emacs
Added functions backtrace-last-evaluated/set-repeat-replace-variables to improve repeat command
Added optional argument norepeat to function repeat-replace-register-command + registered some more repeat-replace commands