Replaced printing to stderr by real error message using Glib logger.
Merge pull request #17 from arteymix/log-using-glib

Replaced printing to stderr by real error message using Glib logger.