private void startDialog() {
	 isRunning = true;
	 checkFiles(); //Checks if all Data directories exist.
	 dmPhase = new DMPhase();	//Creates the DMPhase, which loads all data
	 //Goes through the StartDialog.
	 do {
		 phase.setPhaseResult(this);
		 phase = phase.nextPhase(this);
	 } while(!userLoggedIn && isRunning);
	 if (userLoggedIn && isRunning) {
		 return;
	 }
	 else {
		 isRunning = true;
		 userLoggedIn = false;
		 return;
	 }
  }