latest changes to libplre static lib and ff code