Improve the sample GTK+ client program to make it a bit more functional.