private static String killExcessWhitespaces(String raw) {
		//System.out.println("_:" + raw + ":");
		StringBuilder stringBuilder = new StringBuilder();
		for (int i = 0; i < raw.length(); i++) {
			if (raw.charAt(i) != ' ' || (i != 0 && stringBuilder.charAt(stringBuilder.length() - 1) != '\\' &&
					stringBuilder.charAt(stringBuilder.length() - 1) != '.' &&
					stringBuilder.charAt(stringBuilder.length() - 1) != ' '))   //TODO is it all situations???
			{
				stringBuilder.append(raw.charAt(i));
			}
		}
		if (stringBuilder.length() > 0 && stringBuilder.charAt(stringBuilder.length() - 1) == ' ') {
			stringBuilder.deleteCharAt(stringBuilder.length() - 1);
		}
		return stringBuilder.toString();
	}