Error-handling changed to G_Error - some handling will probably be
updated in the further process