HF RL Explorer

UI: Fix a series of mem leaks

UI: Fix a series of mem leaks: a task in Trending-SWE1.0 (Harbor dataset). Title: UI: Fix a series of mem leaks

The task

**Title:** UI: Fix a series of mem leaks

Part of scalingX/Trending-SWE1.0.