only change gpu engine, memclock, fans, if ADL is enabled
fix some potential memory leaks, remove a few old unused functions