mainGlade = Glade.parse(GLADE_PATH, "wnd_main");
initTreeView((TreeView)mainGlade.getWidget("treeview"));
final ToolButton addt = (ToolButton)mainGlade.getWidget("tbtn_add");
addt.connect((ToolButton.CLICKED)new GUIEventPipe(this, "add"));
final ImageMenuItem addm = (ImageMenuItem)mainGlade.getWidget("mbtn_add");
addm.connect(new GUIEventPipe(this, "add"));
final ToolButton removet = (ToolButton)mainGlade.getWidget("tbtn_remove");
removet.connect((ToolButton.CLICKED)new GUIEventPipe(this, "remove"));
final ToolButton pauset = (ToolButton)mainGlade.getWidget("tbtn_pause");
pauset.connect((ToolButton.CLICKED)new GUIEventPipe(this, "pause"));
final ToolButton resumet = (ToolButton)mainGlade.getWidget("tbtn_resume");
resumet.connect((ToolButton.CLICKED)new GUIEventPipe(this, "resume"));
final ImageMenuItem preferencesm = (ImageMenuItem)mainGlade.getWidget("mbtn_preferences");
preferencesm.connect(new GUIEventPipe(this, "preferences"));
final Window w = (Window)mainGlade.getWidget("wnd_main");
w.showAll();
w.connect(new Window.DELETE_EVENT()