replace threading timer with glib timeout