Asynchronous requests

Added test code to pump the Gtk message loop so that ynchronous
reception of messages becomes possible.  Note that this code is
nothing more but a simple experiment.  It does in particular not
handle distinguishing between the response the code is waiting for
and other asynchronous messages arriving.