public void loadwait() {
		boolean i = false;
		synchronized (loadwaited) {
			loadwaited.add(this);
		}
		synchronized (this) {
			boostprio(10);
			while (loading) {
				try {
					wait();
				} catch (InterruptedException e) {
					i = true;
				}
			}
		}
		if (i)
			Thread.currentThread().interrupt();
	}