[fix] Check return values and some tainted values
[fix] Initialize all tokenstream members. Remove unused member from EST_FeatureSample and EST_FeatureData