Marged glib dependency as required
Corrected error reporting code, adding decoding support