Clean up DoToggleCmds function so that on exit mappings, commands
and abbrs are removed.