public void actionPerformed(ActionEvent a)
	{
		String s=a.getActionCommand();
		if(s.equals("Engine Settings..."))
		{
			settings st=new settings(b,es);
			st.setSize(400,300);
			st.toFront();
			st.show();
		}
		else if(s.equals("New"))
			sc="new";
		else if(s.equals("Quit"))
			sc="quit";
		else if(s.equals("Undo"))
			sc="undo";
	}