f.getContentPane().add(BorderLayout.CENTER, gui);
f.getContentPane().add(BorderLayout.NORTH,
context.getActions().createToolBar());
// Add the project selection menu.
ProjectSelectionMenu ps = new ProjectSelectionMenu(context);
ps.insertInto(menu);
// Add debugging items.
if(settings.isDebugMode()) {
context.getEventBus().addMember(
EventBus.VETOING, new EventDebugMonitor());