Fixes some bugs in gnome-translate.
Fixes #284.