public void setLightSourceEnabled(boolean b) {
		if (job == null) {
			lightSource.setOn(false);
			return;
		}
		if (b) {
			if (!job.contains(photonGun) && !job.toBeAdded(photonGun))
				job.add(photonGun);
			setSubatomicEnabled(true);
		} else {
			job.remove(photonGun);
		}
		lightSource.setOn(b);
	}