Get the string length from WITH-FOREIGN-STRING instead of calling LENGTH on the original string
Updated references to structures from the name of the type to (:STRUCTURE NAME) instead