* Add removing trailing spaces, like GoldSrc does * Pass classname first to allow game to override it * Remove FL_CUSTOMENTITY flag usage, GoldSrc doesn't set this flag for "custom" export entities * Fix possible memory leak