bug with sigpipes and useGui-setting

Signed-off-by: Benjamin Reh <ich@benjaminreh.de>