huge refactoring to allow multiple tracker windows;