public OptionsMenu(boolean isThread) throws ClassNotFoundException {
		
		//myDraw.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		if (isThread) {
			isRunning = true;
		}
		
		values = readDoubleSerialized("options");
		
		stringOptions = readStringSerialized("name");
		
		myIsThread = isThread; // Whether or not this optionsmenu is running in a thread
		
		// Initialize all the elements of the menu
		myDraw = new Draw("Options");
		myDraw.setXscale(-1.0, 1.0);
		myDraw.setYscale(-1.0, 1.0);
		myNumAI = new TextBox(myDraw, 0, -0.5, Color.BLUE);
		myOnlineName = new TextBox(myDraw, 0, 0.25, Color.BLUE);
		myBackButton = new Button(myDraw, "Back to Main Menu", -0.7, 0.9, Color.BLUE);
		myNumPlayers = new TextBox(myDraw, 0, -0.25, Color.BLUE);
		myNumPlayers.myText = Integer.toString((int) values[1]);
		myNumAI.myText = Integer.toString((int) values[2]);
		myDelete = new Button(myDraw, "Clear Options File", -0.7, -0.8, Color.BLUE);
		myBackToGame = new Button(myDraw, "Back To Game", 0.7, 0.9, Color.BLUE);
		myGuns = new TextBox(myDraw, 0, 0.5, Color.BLUE);
		myGuns.myText = Integer.toString((int) values[0]);
		myOnlineName.myText = stringOptions[0];
	}