gui: Allow to edit strings.

Based upon the surrounding code.  There might be a better way to achieve
it, but this seems better than no support.

Issue #159.