function addpath($name, $fspath, $overwrite = false) {
		if ( ! $overwrite && isset($this->registeredpaths[$name])) {
			throw new Panic("A path is already registered for $name.");
		}
		else { // path is not registered yet or overwrite == true
			$this->registeredpaths[$name] = $fspath;
		}
	}