added a bunch of utility/wrapper functions: g_basename(), g_getcwd(),