start implementing tabbed hoodle. some refactoring in GUI