_viewFactory = new ViewFactory(this);
	public MainPanel(RootPaneContainer rootPaneContainer) {		/* initialize the history mechanism */		_history = new DefaultListModel();				/* Important: this must be the order (loadmodules then renderbox as last two) */		_pm = new NPluginManager();		_filter = new DefaultFilter();		_r = new RenderBox(this);		_view = new NGUI(this, rootPaneContainer);		_viewFactory = new ViewFactory(this);				_view.addComponent(_viewFactory.getHistoryPane(), "History", ViewInterface.SIDE_PANEL);		_view.addComponent(_viewFactory.getLayoutPane(), "Layout", ViewInterface.BOTTOM_PANEL);				_view.gui().setPreferredSize(new Dimension(700, 500));				loadModules();	}