def filter_more_matching_windows
      ids = @matching_windows.map { |matching_window| matching_window.match(/^(\w+)\s/)[1] }
      target_index = 0
      if ids.include? Wmctile.current_window_id
        # Hold on to your hat, we're gonna loop!
        i = ids.index(Wmctile.current_window_id)
        if i + 1 < ids.count
          # Current window is not the last
          target_index = i + 1
        end
      end
      @matching_line = @matching_windows[target_index]
    end
def filter_more_matching_windows
      ids = @matching_windows.map { |matching_window| matching_window.match(/^(\w+)\s/)[1] }
      target_index = 0
      if ids.include? Wmctile.current_window_id
        # Hold on to your hat, we're gonna loop!
        i = ids.index(Wmctile.current_window_id)
        if i + 1 < ids.count
          # Current window is not the last
          target_index = i + 1
        end
      end
      @matching_line = @matching_windows[target_index]
    end
Takes all the @matching_windows and finds the relevant one.
 If the window is the same class as the current one, it loops to find the next one.
 If the window is of a different class, it simply takes the first one.

 @return [void]