beginnings of gui lib