Fixed compilation using codeGear
Fixed mem leak in C StringArray
Removed some obsoletes