Adjusted undo-command.
Added grep command with inverse option.
Improved the squash-command.