Solid Edge ST5 and lower fixes.

Preliminary work. Still testing other versions of Solid Edge.