Made the copy/paste sample's UI more user-friendly & robust.

The UI now has a workflow to step the user through giving/getting help.

Also, the UI now handles malformed input more gracefully.