public void init(String url, String saveTo, boolean logging, boolean allowReadCache, boolean forceTagging) {
		state = UIState.START;
		textFieldDirectory.setText(saveTo);
		chckbxLog.setSelected(logging);
		chckbxUseCache.setSelected(allowReadCache);
		chckbxForceTag.setSelected(forceTagging);
		try {
			rootPage = AbstractPage.bakeAPage(null, url, saveTo, null);
			textFieldURL.setText(rootPage.url.toString());
		} catch (IllegalArgumentException e) {
			return;
		}
		lblStatus.setText("Press 'Check' button");
		
		setRootNodeForRootPage();
		enableButtons();
		
		if (AUTO_PREFETCH) {
			initPrefetch();
			state = UIState.READCACHEPAGES;
		} else {
			// no auto-update
			btnUpdate.setEnabled(false);
		}
	}