tracking: do not import GUI class in headless mode