Fixes memory errors; 3900 errors remain in parsing STL.