mixed use of context and window in tracker, just uses window explicitly now