Beep when no target was found and don't put that command into undo history

Close #4.