remove gui dependency (properly); fix example program