protected String getOptimizedOutput(String currentString, String newString) {
        byte[] current = currentString.getBytes();
        byte[] buf = newString.getBytes();

        if (!currentString.equals(newString)) {
            // Figure out what character starts the change.

            if (currentString.equals("")) {
                return newString;
            } else {
                for (int x = 0; x < current.length; x++) {
                    if (current[x] != buf[x]) {
                        return newString.substring(x, newString.length());
                    }
                }
            }
        } else {
            return "";
        }

        return "";
    }