[core] gc engine, text processor: remove useless commands, code clarification