Added a goto statement.

Also, detect if the key is typing into its own window,
tell user about the error, and repeat.