implemented GUI. guts still lacking.