Replace some g_error() calls by g_printerr() to prevent SIGTRAPs (Debian Bug #767584 by Simon Kainz <simon@familiekainz.at>).