Fixed some behaviors of the new Debugger command history