replaced glib GQueue and GHashtable with my own implementations and now there is no glib dependency