Gui implementation

foobar.