* refactor: fix deprecated substr function Signed-off-by: Stefan Dej <meteyou@gmail.com> * refactor: remove unused import Signed-off-by: Stefan Dej <meteyou@gmail.com> * fix: hide toolhead, extruder and temperature panel if it is not available Signed-off-by: Stefan Dej <meteyou@gmail.com>