croutoncycle: Detect current xiat window, and switch accordingly.
Working croutoncycle, yeah!