PactRef works now

Added and fixed various string functions