templates of client methods (not inline)
todo: change synchronisation mechanism for gui_client