public void WriteLogMessage(String message) {
		if (logFilename == null) {
			return;
		}
		try {
			if (logFile == null) {
				logFile = new BufferedWriter(new FileWriter(logFilename, true));
			}
			logFile.write(message);
			logFile.newLine();
			logFile.flush();
		} catch (Exception e) {
			// whatev
		}
	}