Don't auto-click button on corpus change.

It's annoying when typing a custom corpus.  Just auto-click on page
load.
If corpus is empty, generate an empty string.

Fixes a bug where the word "Undefined" would be displayed if the corpus
were empty.