Trajectory window is now a separate class